load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["plugin-imports.go"],
    importpath = "k8s.io/test-infra/prow/hook/plugin-imports",
    visibility = ["//visibility:public"],
    deps = [
        "//prow/plugins/approve:go_default_library",
        "//prow/plugins/assign:go_default_library",
        "//prow/plugins/blockade:go_default_library",
        "//prow/plugins/blunderbuss:go_default_library",
        "//prow/plugins/branchcleaner:go_default_library",
        "//prow/plugins/bugzilla:go_default_library",
        "//prow/plugins/buildifier:go_default_library",
        "//prow/plugins/cat:go_default_library",
        "//prow/plugins/cherrypickunapproved:go_default_library",
        "//prow/plugins/cla:go_default_library",
        "//prow/plugins/dco:go_default_library",
        "//prow/plugins/dog:go_default_library",
        "//prow/plugins/golint:go_default_library",
        "//prow/plugins/goose:go_default_library",
        "//prow/plugins/heart:go_default_library",
        "//prow/plugins/help:go_default_library",
        "//prow/plugins/hold:go_default_library",
        "//prow/plugins/invalidcommitmsg:go_default_library",
        "//prow/plugins/jira:go_default_library",
        "//prow/plugins/label:go_default_library",
        "//prow/plugins/lgtm:go_default_library",
        "//prow/plugins/lifecycle:go_default_library",
        "//prow/plugins/merge-method-comment:go_default_library",
        "//prow/plugins/mergecommitblocker:go_default_library",
        "//prow/plugins/milestone:go_default_library",
        "//prow/plugins/milestoneapplier:go_default_library",
        "//prow/plugins/milestonestatus:go_default_library",
        "//prow/plugins/override:go_default_library",
        "//prow/plugins/owners-label:go_default_library",
        "//prow/plugins/pony:go_default_library",
        "//prow/plugins/project:go_default_library",
        "//prow/plugins/projectmanager:go_default_library",
        "//prow/plugins/releasenote:go_default_library",
        "//prow/plugins/require-matching-label:go_default_library",
        "//prow/plugins/retitle:go_default_library",
        "//prow/plugins/shrug:go_default_library",
        "//prow/plugins/sigmention:go_default_library",
        "//prow/plugins/size:go_default_library",
        "//prow/plugins/skip:go_default_library",
        "//prow/plugins/slackevents:go_default_library",
        "//prow/plugins/stage:go_default_library",
        "//prow/plugins/trick-or-treat:go_default_library",
        "//prow/plugins/trigger:go_default_library",
        "//prow/plugins/updateconfig:go_default_library",
        "//prow/plugins/verify-owners:go_default_library",
        "//prow/plugins/welcome:go_default_library",
        "//prow/plugins/wip:go_default_library",
        "//prow/plugins/yuks:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [":package-srcs"],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
